]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Also look for resources in $(builddir)
authorColin Walters <walters@verbum.org>
Wed, 30 Oct 2013 18:00:58 +0000 (14:00 -0400)
committerColin Walters <walters@verbum.org>
Wed, 30 Oct 2013 18:00:58 +0000 (14:00 -0400)
Since misc/config.js is built, we need to tell the resource compiler
to find it too.

Fixes the build in Continuous where srcdir != builddir.

js/Makefile.am

index fce6c58aa77b12dd248252b9f4843c272e7c8b8b..86b62228c070d861169a3c989e0a7dd5d95a7092 100644 (file)
@@ -14,9 +14,9 @@ misc/config.js: misc/config.js.in Makefile
 
 js_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/js-resources.gresource.xml)
 js-resources.h: js-resources.gresource.xml $(js_resource_files) misc/config.js
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name shell_js_resources $<
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate --c-name shell_js_resources $<
 js-resources.c: js-resources.gresource.xml $(js_resource_files) misc/config.js
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name shell_js_resources $<
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate --c-name shell_js_resources $<
 
 js_built_sources = js-resources.c js-resources.h